package com.twd.netty;

import java.util.concurrent.atomic.AtomicLong;

public class AtomicTest {
  static AtomicLong atomicLong=  new AtomicLong(1);
    public static void main(String[] args) {
      long andAdd = atomicLong.getAndAdd(1L);
      System.out.printf(String.valueOf(andAdd));
    }
}
